package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;


import com.jic.order.entity.OrderReturnGoodRecord;
import com.jic.order.manage.response.OrderReturnGoodRecordResponse;
import com.jic.order.manage.request.OrderReturnGoodRecordRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单退货记录
 * @author : 
 * @email : 
 * @since : 2020-05-12 12:33:15
 * @version : v1.0.0
 */
@Mapper
public interface  OrderReturnGoodRecordMapper {

    long insert(OrderReturnGoodRecord orderReturnGoodRecord);

    long delete(Long id);

    long update(OrderReturnGoodRecord orderReturnGoodRecord);

    OrderReturnGoodRecord queryByPrimaryKey(Long id);

    List<OrderReturnGoodRecord> query(OrderReturnGoodRecord orderReturnGoodRecord);

    List<OrderReturnGoodRecordResponse> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderReturnGoodRecord") OrderReturnGoodRecordRequest orderReturnGoodRecord);

    long queryPageCount(@Param("orderReturnGoodRecord") OrderReturnGoodRecordRequest orderReturnGoodRecord);
}